package com.workhours;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 工作时间记录系统启动类
 *
 * @author WorkHours
 * @since 2025-09-19
 */
@SpringBootApplication
@MapperScan("com.workhours.mapper")
public class WorkHoursApplication {

    public static void main(String[] args) {
        SpringApplication.run(WorkHoursApplication.class, args);
        System.out.println("工作时间记录系统后端启动成功！");
        System.out.println("SpringDoc API文档地址：http://localhost:8081/swagger-ui.html");
        System.out.println("OpenAPI文档数据：http://localhost:8081/v3/api-docs");
        System.out.println("API接口地址：http://localhost:8081/api/");
    }
}
